import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import global from "../src/api/global"; //引用文件
import axios from "axios";
import echarts from "echarts";
// import VueWechatTitle from "vue-wechat-title";

// Vue.use(VueWechatTitle);
window.echarts = echarts;
Vue.prototype.$axios = axios;
Vue.prototype.GLOBAL = global;
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;
Vue.use(ElementUI);

new Vue({
  router,
  store,
  axios,
  render: (h) => h(App),
}).$mount("#app");

